//
//  FirstWeatherEntity.m
//  SXH
//
//  Created by 龚啸 on 15/9/11.
//  Copyright (c) 2015年 lyss. All rights reserved.
//

#import "FirstWeatherEntity.h"

@implementation FirstWeatherEntity

- (instancetype)initWithAttributes:(NSDictionary *)attributes {
    self = [super init];
    if (!self) {
        return nil;
    }
    self.weatherWeek = [attributes valueForKeyPath:@"week"];
    self.weatherImage =[attributes valueForKeyPath:@"ico"];
    self.weatherLow = [attributes valueForKeyPath:@"lowtemp"];
    self.weatherHigh = [attributes valueForKeyPath:@"hightemp"];
    self.weatherDate = [attributes valueForKeyPath:@"date"];
    self.weatherType = [attributes valueForKeyPath:@"type"];

    return self;
}

@end
